package cloud.estate.chargeDetail.service;

import cloud.estate.commons.bean.ChargeDetail;
import cloud.estate.commons.util.JsonResult;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

@Service
public interface ChargeDetailService extends IService<ChargeDetail> {
    JsonResult addOneChargeDetail(ChargeDetail chargeDetail);

    JsonResult deleteOneChargeDetail(String id);

    JsonResult updateOneChargeDetail(ChargeDetail chargeDetail);

    JsonResult findOneChargeDetail(String id);

    JsonResult findAllChargeDetail();
}
